package com.buercorp.wangyu.common;

public class sumMet {
    public static void main(String[] args) {
        // 打印调用
        System.out.println(sum(10,20));

        // 赋值调用
        int result = sum(10,20);
        System.out.println(result);
    }
    public static int sum(int a, int b){
        int sum = a + b;
        return sum;
    }
}
